<?php $this->load->view('_inc/header')?>

<h1>Restaurantes de <?php echo $restaurantes['0']['cidade'] ?></h1>

<table class="listagem">
    <tr>
        <th>Nome</th>
        <th>Telefone</th>
        <th>Cidade</th>
        <th>Tipo</th>
    </tr>
    <?php foreach($restaurantes as $restaurante){ if (!empty($restaurante)) { ?>
    <tr>
        <td><?php echo $restaurante['restaurante']?></td>
        <td><?php echo $restaurante['telefone']?></td>
        <td><?php echo $restaurante['cidade']?></td>
        <td><?php echo $restaurante['tipo_restaurante']?></td>
    </tr>
    <?php } } ?>
</table>

<?php $this->load->view('_inc/footer')  // ?>